package operation;

import book.Book;
import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: syyyy
 * Date: 2025-07-08
 * Time: 18:57
 */
public class ShowBook implements IOperation{
    public void work(BookList bookList){
        System.out.println("*****展示界面*****");
        int i=0;
        for ( i = 0; i < bookList.getUsedSize(); i++) {
            Book book = bookList.getBooks(i);
            System.out.println(book);
        }
    }
}
